﻿using RabbitMQ.Client;

namespace WJ.Infrastructure.RabbitMQ
{
    public class ConnManage
    {
        public static IConnection CreateConn()
        {
            var factory = new ConnectionFactory() { HostName = "localhost" };

            return factory.CreateConnection();
        }
    }
}